.order-container {
  background-color: #f5f5f5;
  min-height: 100vh;
  position: relative;
  padding-bottom: 80px;
}

/* 顶部导航栏 */
.order-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 44px;
  background: #fff;
  display: flex;
  align-items: center;
  padding: 0 16px;
  z-index: 1000;
  border-bottom: 1px solid #f0f0f0;
}

.order-header-title {
  font-size: 16px;
  font-weight: 500;
  color: #333;
  flex: 1;
  text-align: center;
}

.back-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: auto;
  color: #333;
}

/* 主要内容区域 */
.order-content {
  margin-top: 44px;
  padding-bottom: 20px;
}

/* 收货地址区域 */
.address-section {
  background-color: #fff;
  margin-bottom: 8px;
  padding: 16px;
}

.address-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.address-icon {
  color: #666;
  font-size: 16px;
}

.address-info {
  flex: 1;
}

.address-name-phone {
  font-size: 16px;
  font-weight: 500;
  color: #333;
  margin-bottom: 4px;
}

.address-detail {
  font-size: 14px;
  color: #666;
  line-height: 1.4;
}

.address-arrow {
  color: #ccc;
  font-size: 14px;
}

/* 商品信息区域 */
.product-section {
  background-color: #fff;
  margin-bottom: 8px;
  padding: 16px;
}

.product-header {
  font-size: 16px;
  font-weight: 500;
  color: #333;
  margin-bottom: 16px;
}

.product-item {
  display: flex;
  gap: 12px;
}

.product-image {
  width: 60px;
  height: 60px;
  border-radius: 4px;
  object-fit: cover;
}

.product-details {
  flex: 1;
}

.product-name {
  font-size: 14px;
  color: #333;
  line-height: 1.4;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-specs {
  font-size: 12px;
  color: #666;
  margin-bottom: 8px;
}

.product-price-quantity {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.product-price {
  font-size: 16px;
  color: #ff4d4f;
  font-weight: 500;
}

.product-quantity {
  font-size: 14px;
  color: #666;
}

/* 优惠券区域 */
.coupon-section {
  background-color: #fff;
  margin-bottom: 8px;
  padding: 16px;
}

.coupon-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.coupon-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.coupon-icon {
  width: 20px;
  height: 20px;
  background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 12px;
}

.coupon-text {
  font-size: 14px;
  color: #333;
}

.coupon-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.coupon-count {
  background-color: #ff4d4f;
  color: #fff;
  border-radius: 10px;
  padding: 2px 6px;
  font-size: 10px;
  min-width: 16px;
  text-align: center;
}

.coupon-placeholder {
  font-size: 14px;
  color: #999;
}

.coupon-arrow {
  color: #ccc;
  font-size: 14px;
}

/* 订单金额区域 */
.order-summary {
  background-color: #fff;
  margin-bottom: 8px;
  padding: 16px;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.summary-item:last-child {
  margin-bottom: 0;
}

.summary-label {
  font-size: 14px;
  color: #333;
}

.summary-value {
  font-size: 14px;
  color: #333;
}

.summary-value.discount {
  color: #ff4d4f;
}

.summary-value.free {
  color: #52c41a;
}

/* 支付方式区域 */
.payment-section {
  background-color: #fff;
  margin-bottom: 8px;
  padding: 16px;
}

.payment-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.payment-label {
  font-size: 14px;
  color: #333;
}

.payment-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.payment-placeholder {
  font-size: 14px;
  color: #999;
}

.payment-arrow {
  color: #ccc;
  font-size: 14px;
}

/* 底部提交区域 */
.order-bottom {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #fff;
  border-top: 1px solid #f0f0f0;
  padding: 12px 16px;
  z-index: 1000;
}

.order-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.total-price {
  display: flex;
  align-items: center;
  gap: 8px;
}

.total-label {
  font-size: 14px;
  color: #333;
}

.total-amount {
  font-size: 18px;
  font-weight: bold;
  color: #ff4d4f;
}

.submit-btn {
  background: linear-gradient(135deg, #ff6600, #ff8800);
  border: none;
  border-radius: 20px;
  padding: 0 24px;
  height: 40px;
  font-size: 16px;
  font-weight: 500;
}

/* 安全区域适配 */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
  .order-bottom {
    padding-bottom: calc(12px + env(safe-area-inset-bottom));
  }
}

/* 响应式设计 */
@media (max-width: 375px) {
  .product-item {
    gap: 8px;
  }

  .product-image {
    width: 50px;
    height: 50px;
  }

  .product-name {
    font-size: 13px;
  }
}
